<?php

//define('ENVIRONMENT', 'development');
error_reporting(E_ALL); 	// case 'development'
//error_reporting(0); 		// case 'production'

//// 	The directory name, relative to the "controllers" folder.  Leave blank
//// 	if your controller is not in a sub-folder within the "controllers" folder
// $routing['directory'] = '';
//// 	The controller class file name.  Example:  Mycontroller.php
// $routing['controller'] = '';
//// 	The controller function you wish to be called.
// $routing['function']	= '';
//// $assign_to_config['name_of_config_item'] = 'value of config item';

define('APPNAME'		, 'duwit');
define('EXT'			, '.'.pathinfo(__FILE__, PATHINFO_EXTENSION));
define('SELF'			, pathinfo(__FILE__, PATHINFO_BASENAME));
define('FCPATH'			, str_replace(SELF, '', __FILE__));
define('APPPATH'		, dirname(__FILE__)."/");
define('BASEPATH'		, dirname(__FILE__).'/sys/');
define('SYSDIR'			, trim(strrchr(trim(BASEPATH, '/'), '/'), '/'));
define('ROOTPATH'		, dirname(APPPATH).'/');

require_once BASEPATH.'core/CodeIgniter'.EXT;

?>
